package com.bmps.springcloud.insuredmicroservice.service.underwrite.strategy.riskamount;

import com.bmps.springcloud.insuredmicroservice.model.accept.medium.PolicyRiskInfoModel;

import java.math.BigDecimal;

/**
 * description:
 * 险种风险保额策略
 *
 * @author jackdaw
 * @date 2020-04-15 18:59
 */
public interface InsuranceRiskAmountStrategy {
    /**
     * 计算险种的风险保额
     *
     * @param policyRiskInfoModel 保单险种信息
     * @param isCurrent           true-当前单，false-历史单
     * @param object              预留对象
     * @return BigDecimal
     */
    BigDecimal getRiskAmount(PolicyRiskInfoModel policyRiskInfoModel, boolean isCurrent, Object object);
}
